package com.wechat.pay.api.vo.payNotify;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("优惠功能vo")
public class PaySuccessNoticePromotionDetail implements Serializable {
    private static final long serialVersionUID = 6097975051063804490L;

    @ApiModelProperty("券ID")
    private int coupon_id;

    @ApiModelProperty("优惠名称")
    private String name;

    @ApiModelProperty("优惠范围")
    private String scope;

    @ApiModelProperty("优惠类型")
    private String type;

    @ApiModelProperty("优惠券面额")
    private int amount;

    @ApiModelProperty("活动ID")
    private String stock_id;

    @ApiModelProperty("微信出资")
    private int wechatpay_contribute;

    @ApiModelProperty("商户出资")
    private int merchant_contribute;

    @ApiModelProperty("其他出资")
    private int other_contribute;

    @ApiModelProperty("优惠币种 CNY：人民币，境内商户号仅支持人民币")
    private String currency;

    @ApiModelProperty("单品列表")
    private List<PaySuccessNoticeGoodsDetail> goods_detail;
}
